package com.aizhixin.lab.docker.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

@Entity(name = "container_to_image")
@Data
public class ContainerToImages {
    @Id
    private String id;
    @Column(name = "images_name")
    private String imagesName;
    @Column(name = "images_version")
    private String imageVersion;
    @Column(name = "user_id")
    private Long userId;
    @Column(name = "course_id")
    private String courseId;
    @Column(name = "chapter_id")
    private Long chapterId;
    @Column(name = "create_date")
    private Date createDate;
    @Column(name = "is_auto")
    private Boolean isAuto;
    @Column(name = "container_name")
    private String containerName;
}
